package com.ruoyi.gd.fj.domain.bo;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 附件业务对象 z_fujian
 *
 * @author ruoyi
 * @date 2024-03-17
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZFujianBo extends BaseEntity {

    /**
     * id
     */
    @NotBlank(message = "id不能为空", groups = { EditGroup.class })
    private String fjid;

    /**
     * 附件名称
     */
    @NotBlank(message = "附件名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fjname;

    /**
     * 附件类型
     */
    @NotBlank(message = "附件类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fjtype;

    /**
     * 附件路径
     */
    @NotBlank(message = "附件路径不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fjpath;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

}
